﻿@model BarPostEditModel
@{
    Layout = "app-1col";
    string title = Model.PostId.HasValue ? "编辑回帖" : "回复";
    Html.IncludeCss("~/Applications/Bar/Styles/app.css", ResourceRenderPriority.Last);
    Html.IncludeScript("~/Applications/Bar/Scripts/jquery.spb.bar.js", ResourceRenderPriority.Last);

    int PostBodyMaxLength = ViewData.Get<int>("PostBodyMaxLength", 5000);
}

@section ContentHeader{
    @Html.Action("_BarSubmenu", "Bar", new { SectionId = Model.SectionId })
}

@Html.Partial("~/Applications/Bar/Views/Bar/_EditPost.cshtml", Model)

